package com.systop.ltbook.sms.smscfg.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.systop.core.model.BaseModel;

/**
 * 短信发送条数配置类
 * @author DU
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "sms_cfg")
public class SmsCfg extends BaseModel {

	/**
	 * ID
	 */
	private String Id;
	
	/**
	 * 客服人员发送条数
	 */
	private Integer staffSize;
	
	/**
	 * 代理商发送条数
	 */
	private Integer agentSize;
	
	/**
	 * 最终客户发送条数
	 */
	private Integer customerSize;

	@Id
  @GeneratedValue(generator = "dsPK")
  @GenericGenerator(name = "dsPK", strategy = "assigned")
  @Column(name="ID",nullable=false)
	public String getId() {
  	return Id;
  }

	public void setId(String id) {
  	Id = id;
  }

	@Column(name="staff_size")
	public Integer getStaffSize() {
  	return staffSize;
  }

	public void setStaffSize(Integer staffSize) {
  	this.staffSize = staffSize;
  }

	@Column(name="agent_size")
	public Integer getAgentSize() {
  	return agentSize;
  }

	public void setAgentSize(Integer agentSize) {
  	this.agentSize = agentSize;
  }

	@Column(name="customer_size")
	public Integer getCustomerSize() {
  	return customerSize;
  }

	public void setCustomerSize(Integer customerSize) {
  	this.customerSize = customerSize;
  }
}
